home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Commands / PMeasureUnits.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  819b  |  29 lines

  1. /*
  2.  *--- PMeasureUnits.cpp ---------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:19 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PMeasureUnits.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PMeasureUnits.h"
  12. #include "PRequestBuf.h"
  13. #include "PCommand.h"
  14.  
  15. const size_t REQUEST_SIZE = 6;
  16.  
  17. PMeasureUnits::PMeasureUnits(short cMeasurement, short cVertical, short dCustomPoints)
  18. {
  19.     char * temp[REQUEST_SIZE];
  20.  
  21.     PRequestBuf request(temp);
  22.  
  23.     request << cMeasurement << cVertical << dCustomPoints;
  24.             
  25.     PCommand command(pm_measureunits, request);
  26. }
  27.  
  28. // end of PMeasureUnits.cpp
  29.